negotiator.boaframework
Class IAMhaggler_Concession

java.lang.Object
  extended by negotiator.boaframework.IAMhaggler_Concession

public class IAMhaggler_Concession
extends java.lang.Object


Field Summary
protected  double RISK_PARAMETER
           
 
Constructor Summary
IAMhaggler_Concession(UtilitySpace utilitySpace)
           
 
Method Summary
protected  Jama.Matrix generateRiskFunction(double riskParameter)
          Generate an n-by-m matrix representing the risk based utility for a given utility-time combination.
protected  double generateRiskFunction(double riskParameter, double utility)
          Generate the risk based utility for a given actual utility.
 double getTarget(double opponentUtility, double time)
          Get the target at a given time, recording the opponent's utility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RISK_PARAMETER

protected double RISK_PARAMETER
Constructor Detail

IAMhaggler_Concession

public IAMhaggler_Concession(UtilitySpace utilitySpace)
Method Detail

getTarget

public double getTarget(double opponentUtility,
                        double time)
Get the target at a given time, recording the opponent's utility.

Parameters:
opponentUtility - The utility of the most recent offer made by the opponent.
time - The current time.
Returns:
the target.

generateRiskFunction

protected Jama.Matrix generateRiskFunction(double riskParameter)
Generate an n-by-m matrix representing the risk based utility for a given utility-time combination. The combinations are given by the time and utility samples stored in timeSamples and utilitySamples

Parameters:
riskParameter - The risk parameter.
Returns:
an n-by-m matrix representing the risk based utility.

generateRiskFunction

protected double generateRiskFunction(double riskParameter,
                                      double utility)
Generate the risk based utility for a given actual utility.

Parameters:
riskParameter - The risk parameter.
utility - The actual utility to calculate the risk based utility from.
Returns:
the risk based utility.